package io.renren.modules.generator.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.generator.dao.OtCoinUserDao;
import io.renren.modules.generator.entity.OtCoinUserEntity;
import io.renren.modules.generator.service.OtCoinUserService;



@Service("otCoinUserService")
public class OtCoinUserServiceImpl extends ServiceImpl<OtCoinUserDao, OtCoinUserEntity> implements OtCoinUserService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<OtCoinUserEntity> page = this.selectPage(
                new Query<OtCoinUserEntity>(params).getPage(),
                new EntityWrapper<OtCoinUserEntity>()
        );

        return new PageUtils(page);
    }
	
}
